package com.tmt.im.common.enums;

import lombok.Getter;

/**
 * 钱包余额变动类型
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/6 22:03
 * @Version 1.0
 **/
@Getter
public enum WalletAction {

    /**
     * 发手气红包
     */
    SEND_RE_LUCKY(true, "发出手气红包"),

    /**
     * 发专属红包
     */
    SEND_RE_EXCLUSIVE(true, "发出专属红包"),

    /**
     * 发个人红包
     */
    SEND_RE_PERSONAL(true, "发出个人红包"),

    /**
     * 转出资金
     */
    TRANSFER_OUT(true, "转出资金"),

    /**
     * 转入资金
     */
    TRANSFER_IN(false, "转入资金"),

    /**
     * 提现
     */
    WITHDRAW(true, "提现"),

    /**
     * 领取红包
     */
    RE_RECEIVED(false, "领取红包"),

    /**
     * 红包退款
     */
    RE_REFUND(false, "红包退款"),

    /**
     * 升级聊天群
     */
    UPGRADE_SESSION(true, "升级聊天群"),

    ;

    /**
     * 是否是出帐？
     */
    private boolean out;

    private String descr;

    WalletAction(boolean out, String descr){
        this.out = out;
        this.descr = descr;
    }

}
